<?php

class Default_IndexController extends Zend_Controller_Action
{	
	public function init()
	{
		
	}

	public function indexAction()
	{
		$grandprix = new Application_Model_GrandprixDAO();
		$this->view->grandprix = $grandprix->findLast();
		//$grandprix->find(1, $this->view->grandprix = new Default_Model_Grandprix());
	}
}

